using NewFormatProject.Infrastructure.EFCore;
using NewFormatProject.Infrastructure.Dto.Requests.Objects;
namespace NewFormatProject.Server.Instances.Extends.Requests
{
	public static class EntityJobsExtend
{
		public static Jobs ToEntity(this RequestJobsDto dto)
		{
			return new Jobs
			{
				JId = dto.id,
				JName = dto.name,
				JDescription = dto.description,
				JDepartmentId = dto.departmentId,
			};
		}
	}
}
